package com.guigu.gulicommon.constant;

/**
 * MQ常量
 *
 * @author 陈俊杰
 * @version 1.0
 * @since 2024/10/3 13:23
 */
public class MQConstant {
    /**
     * 订单事件交换机
     */
    public static final String ORDER_EVENT_EXCHANGE = "order-event-exchange";
    /**
     * 订单死信队列
     */
    public static final String ORDER_DELAY_QUEUE = "order.delay.queue";
    /**
     * 订单释放队列
     */
    public static final String ORDER_RELEASE_QUEUE = "order.release.order.queue";
    /**
     * 订单创建队列路由键
     */
    public static final String ORDER_CREATE_ROUTING_KEY = "order.create.order";
    /**
     * 订单释放队列路由键
     */
    public static final String ORDER_RELEASE_ROUTING_KEY = "order.release.order";
    /**
     * 库存事件交换机
     */
    public static final String STOCK_EVENT_EXCHANGE = "stock-event-exchange";
    /**
     * 库存释放队列
     */
    public static final String STOCK_RELEASE_QUEUE = "stock.release.stock.queue";
    /**
     * 库存死信队列
     */
    public static final String STOCK_DELAY_QUEUE = "stock.delay.queue";
    /**
     * 库存死信队列路由键
     */
    public static final String STOCK_DEAD_ROUTING_KEY = "stock.release";
    /**
     * 库存锁定队列路由键
     */
    public static final String STOCK_LOCKED_ROUTING_KEY = "stock.locked";

}
